package com.smartHome.service;

import com.smartHome.pojo.dto.UserDTO;
import com.smartHome.pojo.entity.User;


public interface UserService {
    User findByEmail(String email);

    void register(User user);

    //更新用户操作
    User update(UserDTO userDTO);
}
